﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model
{
    public class ProductCategoryBase
    {
        #region 内部变量
        private string categoryid = "{00000000-0000-0000-0000-000000000000}";
        private string categorynumber;
        private string categoryname;
        private string code;
        private int lineNum;
        private string description;
        private string parentid = "{00000000-0000-0000-0000-000000000000}";
        private int layer;
        private DateTime createdon;
        private string createdby = "{00000000-0000-0000-0000-000000000000}";
        private DateTime modifiedon;
        private string modifiedby = "{00000000-0000-0000-0000-000000000000}";
        private string picture = "";
        private string approvalslist = "";
        private int itemscount = 0;
        #endregion

        public ProductCategoryBase() { }

        #region 公共属性
        /// <summary>
        /// 
        /// </summary>
        public string CategoryId
        {
            set { categoryid = value; }
            get { return categoryid; }
        }
        /// <summary>
        /// 数据编号 
        /// </summary>
        public string CategoryNumber
        {
            set { categorynumber = value; }
            get { return categorynumber; }
        }
        /// <summary>
        /// 名称
        /// </summary>
        public string CategoryName
        {
            set { categoryname = value; }
            get { return categoryname; }
        }
        /// <summary>
        /// 代码
        /// </summary>
        public string Code
        {
            set { code = value; }
            get { return code; }
        }
        /// <summary>
        /// 序号
        /// </summary>
        public int LineNum
        {
            set { lineNum = value; }
            get { return lineNum; }
        }
        /// <summary>
        /// 描述
        /// </summary>
        public string Description
        {
            set { description = value; }
            get { return description; }
        }
        /// <summary>
        /// 父亲节点
        /// </summary>
        public string ParentId
        {
            set { parentid = value; }
            get { return parentid; }
        }
        /// <summary>
        /// 父亲节点
        /// </summary>
        public string Picture
        {
            set { picture = value; }
            get { return picture; }
        }
        /// <summary>
        /// 层级
        /// </summary>
        public int Layer
        {
            set { layer = value; }
            get { return layer; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ApprovalsList
        {
            set { approvalslist = value; }
            get { return approvalslist; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int ItemsCount
        {
            set { itemscount = value; }
            get { return itemscount; }
        }
        /// <summary>
        /// 创建实践
        /// </summary>
        public DateTime CreatedOn
        {
            set { createdon = value; }
            get { return createdon; }
        }
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreatedBy
        {
            set { createdby = value; }
            get { return createdby; }
        }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime ModifiedOn
        {
            set { modifiedon = value; }
            get { return modifiedon; }
        }
        /// <summary>
        /// 修改人 
        /// </summary>
        public string ModifiedBy
        {
            set { modifiedby = value; }
            get { return modifiedby; }
        }
        #endregion
    }
}
